﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<CRM.Database.Model.Settlements>" %>


<% Html.DevExpress().ComboBox(sss =>
                                    {
                                        sss.Name = "IdProfineRegion";
                                        sss.Properties.ValueType = typeof (int);
                                        sss.Properties.ValueField = "IdProfineRegion";
                                        sss.Properties.TextField = "NameRu";
                                        sss.Width = new Unit(200);

                                        sss.Properties.ClientSideEvents.SelectedIndexChanged = "function(s, e) { IdRegion.PerformCallback(); }";
                                    }).BindList(Model.Country.profineRegions).Bind(Model.Regions.IdProfineRegion).GetHtml();%>
